﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="wfDefault.aspx.cs" Inherits="ownx._Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
    <head id="Head1" runat="server">
        <title>OWN-X</title>
        <link href="ownx.css" rel="stylesheet" type="text/css" />       
    </head>
    <body style="background-image:url(./images/bg.png); color:White; font-weight:bold;">
        <form id="form1" runat="server">
            <asp:Button ID="FalseButton" runat="server" style="height: 0px; width: 0px; background-color:#111111; border-width:0px;" Enabled="false"/>  
            <div style="width:100%; height:0px; position:absolute; left:0px; top:50%;" id="v_center">
                <div style="width:100%; height:600px; position:absolute; top:-300px; text-align:center; background-image:url(./images/alpha_bg.png); background-repeat:no-repeat; background-position:right;" id="dark">
                    <asp:Login ID="Login1" runat="server" BackColor="#E2DED6" BorderColor="#CCCC99" 
                        BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="10pt" 
                        LoginButtonType="Link" onauthenticate="Login1_Authenticate" 
                        onloggedin="Login1_LoggedIn" 
                        style="left: 30px; top: 30px; position: absolute; height: 135px; width: 236px; z-index: 1;" 
                        UserNameLabelText="Felhasználó:" 
                        UserNameRequiredErrorMessage="Kérem adjon meg felhasználónevet" 
                        DisplayRememberMe="False" EnableTheming="True" ForeColor="#222222" 
                        FailureText="Felhasználónév vagy jelszó nem megfelelő!" 
                        PasswordRequiredErrorMessage="Kérem adja meg a jelszót!">
                        <TitleTextStyle BackColor="Black" Font-Bold="True" ForeColor="#E8CF8F" />
                        <TextBoxStyle BackColor="#E3CDAB" BorderColor="Black" BorderWidth="1px" />
                        <LoginButtonStyle ForeColor="#222222" />
                    </asp:Login>                   
                    <div style="width:971px; height:600px; position:relative; margin:0px auto 0px auto; top: 0px; left: -4px;">
                        <div style="width:203px; height: 378px; float:left; line-height:5px;" 
                            id="buttons">
                          <div style="width:202px; height: 216px; float:left; line-height:5px;" id="Div1">
                            <asp:Calendar ID="calMEGBASZ" runat="server"
                                style="position: relative; margin:25px auto 0px auto; top: 0px;" 
                                SelectedDate="2008-07-08" BackColor="Black" BorderColor="#999999" 
                                CellPadding="4" DayNameFormat="Shortest" Font-Names="Verdana" Font-Size="8pt" 
                                ForeColor="White" Height="180px" Width="200px" Visible="False" 
                                onselectionchanged="calMEGBASZ_SelectionChanged">
                                <SelectedDayStyle BackColor="#666666" Font-Bold="True" ForeColor="White" />
                                <SelectorStyle BorderStyle="Solid" />
                                <WeekendDayStyle BackColor="#F3B801" ForeColor="Black" />
                                <TodayDayStyle BackColor="#CCCCCC" ForeColor="Black" />
                                <OtherMonthDayStyle ForeColor="#808080" />
                                <NextPrevStyle VerticalAlign="Bottom" />
                                <DayHeaderStyle BackColor="#CCCCCC" Font-Bold="True" Font-Size="7pt" 
                                    ForeColor="#333333" />
                                <TitleStyle BackColor="Gray" BorderColor="Black" Font-Bold="True" 
                                    ForeColor="Black" />
                            </asp:Calendar>                          
                        </div> 
                            <br /><br />
                           
                         
                            <br /><br />
                            <asp:Label ID="lUserName" runat="server"></asp:Label>
                            <br /><br />
                            <asp:Button ID="lbLogout" runat="server" Text="Kijelentkezés" style="margin-top:5px;" CssClass="button"
                                onclick="LinkButton1_Click"></asp:Button>
                            <br /><br />
                            <asp:Button ID="lbChangePw" runat="server" Text="Jelszó módosítás" style="" CssClass="button"
                                onclick="lbChangePw_Click"></asp:Button>
                            <br /><br />
                            <asp:Button ID="lbStock" runat="server" Text="xxxStock" style="" CssClass="button"
                                onclick="lbStock_Click" Visible="False"></asp:Button>                            
                        </div> 
                        <div style="width:764px; height: 220px; float:right; text-align:center;" 
                            id="Div2">
                            <asp:Label ID="lFigyelem" runat="server" Text="Figyelmeztetések:"
                                style="" Visible="False"></asp:Label>                                         
                            <div style="text-align:center; margin-top:5px;">
                                <div style="height: 183px; width:767px; overflow:auto;">     
                                    <asp:GridView ID="gvFigyelem" runat="server"    
                                        style="width:700px; border-color:#dac6a6; text-align:center; overflow:auto; margin:0px auto;" 
                                        AutoGenerateColumns="False" CellPadding="4" PageSize="5"
                                        onrowcommand="gvFigyelem_RowCommand" Width="690px"
                                        GridLines="None" AscImage="" ContextMenuID="" DescImage="" 
                                        MouseOverColor="Black" CssClass="exgrid" >
                                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                        <RowStyle    VerticalAlign="Top" 
                                            BorderWidth="0px" Wrap="True" />
                                        <Columns>
                                            <asp:BoundField DataField="PRT_NEV" HeaderText="Partner" />
                                            <asp:BoundField DataField="FGY_MEGJEGYZES" HeaderText="Figyelmeztetés" />
                                            <asp:ButtonField CommandName="ELFOGAD" Text="Ok" >
                                            <ItemStyle ForeColor="#339933" />
                                            </asp:ButtonField>
                                        </Columns>
                                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                        <SelectedRowStyle Font-Bold="True" 
                                            BorderStyle="Solid" CssClass="selrow" />
                                        <HeaderStyle BackColor="Black" Font-Bold="True"  
                                            Height="30px" CssClass="header"  />
                                        <EditRowStyle BackColor="#999999" />
                                        
                                    </asp:GridView>  
                                </div>
                            </div>                                                            
                        </div>                              
                        <div style="width:767px; height: 300px; float:left; text-align:center;" 
                            id="appointments">
                            <div style="text-align:center;">
                                <div style=" width:761px; height: 298px; overflow:auto; margin: 0px auto;">                        
                                    <asp:GridView ID="gvFN_Figyelem" runat="server"  
                                        style="width:700px; border-color:#dac6a6; text-align:center;" 
                                        AutoGenerateColumns="False" CellPadding="4" PageSize="8"
                                        GridLines="None" Visible="False" CssClass="exgrid"
                                        onrowcommand="gvFigyelem_RowCommand" Width="710px" EnableRowClick="True" MouseOverColor="Black">
                                        <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                                        <RowStyle  VerticalAlign="Top" BorderWidth="0px" Wrap="True"/>
                                        <Columns>
                                            <asp:BoundField DataField="MEGJ" HeaderText="Megbeszélések" />
                                        </Columns>
                                        <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
                                        <SelectedRowStyle  Font-Bold="True" CssClass="selrow"
                                            BorderStyle="Solid" />
                                        <HeaderStyle BackColor="Black" Font-Bold="True"  
                                            Height="30px" CssClass="header"  />
                                        <EditRowStyle BackColor="#999999" />
                                    </asp:GridView>
                                </div>
                            </div>                                                      
                        </div>              


                        <div style="width:950px; height: 80px; float:left; line-height:5px;" id="Div3">
                            <table id="tbButtons" runat="server" style="margin: 23px auto 0px auto;">
                                <tr>
                                    <td style="width: 170px;">
                                        <asp:Button ID="lbUsers" runat="server" Text="Felhasználók" style="" CssClass="button"
                                            onclick="lbUsers_Click"></asp:Button>                                    
                                    </td>
                                    <td style="width: 170px;">
                                        <asp:Button ID="lbCalendar" runat="server" Text="Heti terv" style="" CssClass="button"
                                            onclick="lbCalendar_Click"></asp:Button>                                    
                                    </td>
                                    <td style="width: 170px;">
                                        <asp:Button ID="lbParnterChoice" runat="server" Text="Ügyfelek" style="" CssClass="button" 
                                            onclick="lbParnterChoice_Click"></asp:Button>                                    
                                    </td>
                                    <td style="width: 170px;">
                                        <asp:Button ID="lbTorzsek" runat="server" Text="Törzsadatok" style="" CssClass="button"
                                            onclick="lbStock_Click"></asp:Button>                                    
                                    </td>
                                    <td style="width: 170px;">
                                        <asp:Button ID="lbPalyazok" runat="server" Text="Pályázók" style="" 
                                            CssClass="button" onclick="lbPalyazok_Click">
                                        </asp:Button>                                    
                                    </td>
                                    <td style="width: 170px;">
                                        <asp:Button ID="lbKonstrukcio" runat="server" Text="Konstrukció" style="" 
                                            CssClass="button" onclick="lbKonstrukcio_Click">
                                        </asp:Button>                                      
                                    </td>                                                                                                                                                                                    
                                </tr>
                            </table>
                        </div>
                    </div>
                </div>
            </div>
        </form>
    </body>
</html>
